<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<c:set var="path" value="${pageContext.request.contextPath }" />
<%@ taglib tagdir="/WEB-INF/tags" prefix="matrix"%>
<%@ taglib uri="http://matrixcsm.zkingsoft.com" prefix="cms"%>
<cms:ads   code="'img_100292PC','MZY_XiaZaiZhongXin_100293PC','rain_100294PC','MZY_FaGuiXingWenJian_100295PC','MZY_BiaoZhunWenJian_100296PC','MZY_ShenQingWenJian_100297PC','MZY_100298_100298PC','MZY_FaGuiXingWenJianXia_100299PC','MZY_100300_100300PC'"  ></cms:ads>
<!doctype html>
<html lang="zh-CN">
 <head> 
  <meta charset="utf-8"> 
  <meta http-equiv="X-UA-Compatible" content="IE=edge"> 
  <meta name="viewport" content="width=device-width, initial-scale=1"> 
  <link rel="icon" sizes="any" href="${浏览器logo}">
  <title>希尔梵认证检测有限公司${网页标题}</title> 
  <link href="http://hwfile.jyymatrix.cc/xrfrz/pc/css/bootstrap.min.css" rel="stylesheet"> 
  <link href="http://hwfile.jyymatrix.cc/xrfrz/pc/css/reset.css" rel="stylesheet"> 
  <link rel="stylesheet/less" type="text/css" href="http://hwfile.jyymatrix.cc/xrfrz/pc/css/common.less"> 
  <link rel="stylesheet" href="http://hwfile.jyymatrix.cc/xrfrz/pc/css/swiper.min.css"> 
  <link href="http://hwfile.jyymatrix.cc/xrfrz/pc/fonts/iconfont.css" rel="stylesheet"> 
  <script src="http://hwfile.jyymatrix.cc/xrfrz/pc/js/less.js"></script> 
  <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]--> 
  <style>
      .input-class {
       height: 30px;
       width: 120px;
       position: absolute;
       right: 35%;
       margin-top: 5px;
      }

      .button-class {
       height: 30px;
       line-height: normal;
       background: #66CCFF;
       right: 30%;
       position: absolute;
       margin-top: 5px;
      }

      .new_item_time1 {
       /* float: right; */
       position: absolute;
       width: 200px;
       font-size: 12px;
       /* padding: 0px 0px 0px 0px; */
       right: 10%;
      }

      .new_item_title1 {
          width: 450px;
      }

      .new_item1 {
       width: 850px;
       /* height: 40px; */
       line-height: 40px;
       margin: 10px auto;
       padding: 0px 5px;
       cursor: pointer;
      }

      .new_item1 li {
       border-bottom: 1px solid #eeeeee;
      }
      .page-c {
       display: inline-block;
       float: right;
       margin-right: 200px;
       line-height: 40px;
      }

  </style>
  <meta name="keywords" content="${网页关键词}">
  <meta name="description" content="${网页描述 }">
 </head> 
 <body> 
  <jsp:include page="_top.jsp"></jsp:include> 
  <div class="common-banner"> 
   <img src="${img_100292PC.adImg}" alt="" class="zy" data-type="ad" data-id="${img_100292PC.adId}"> 
  </div> 
  <div class="cloum_content_wrap"> 
   <div class="cloumbox"> 
    <div class="title_warp"> 
     <div class="title_box"> 
      <div class="title_top"> 
       <div class="title_top_1 zy" data-type="ad" data-id="${MZY_XiaZaiZhongXin_100293PC.adId}">
        ${MZY_XiaZaiZhongXin_100293PC.adTitle}
       </div> 
      </div> 
      <div class="title_top_2 zy" data-type="ad" data-id="${rain_100294PC.adId}">
       ${rain_100294PC.adTitle}
      </div> 
     </div> 
     <ul class="cloumitembox">
      <cms:artType var="xxzx" code="${param.type}"></cms:artType>
      <c:forEach items="${xxzx }" var="item" >
       <li><a href="${path }/do/redirect/pc/xzzx?pageNow=0&code=${item.code}&type=${param.type}" <c:if test="${param.code eq item.code }"> class="active"</c:if> >${item.artTypeName }</a></li>
      </c:forEach>
     </ul>
    </div> 
    <div class="cloum_content"> 
     <div class="breadcrumb zy" data-type="ad" data-id="${MZY_100298_100298PC.adId}">
      <i class="line_cloum"></i>
      <span>您当前的位置：</span>
      <i class="iconfont icon-zhuye1"></i>
      <a>首页</a> &gt;
      <a>信息中心</a>
     </div>
     <div>
     <ul class="new_item1">
      <cms:arts var="xxzxfile" code="${param.code }" pageNow="${param.pageNow}"
                pageSize="10"></cms:arts>
      <c:forEach items="${xxzxfile }" var="art"  >
       <li class="line_title">

        <a class="new_item_title1" id="disabled"   href="javascript:void(0);" onclick="openart('${path }/do/redirect/pc/news-detail?id=${art.artId }&code=${param.code}&type=${param.type}',this)">${art.artTitle }</a>
          <c:if test="${art.t1 ne null && art.t1 ne ''}" >
        <input name="password" class="input-class" placeholder="请输入阅读密码" type="text"/>
        <input type="hidden" class="hid" value="${art.t1}"/>
        <input type="hidden" class="atrid" value="${art.artId}"/>
        <input type="button" class="button-class" onclick="submitPwd(this)" value="确认">
             </c:if>
        <span class="new_item_time1" style="display: inline-table"> <i class="iconfont icon-liulancishu "></i>&nbsp;${art.artCount} &nbsp;&nbsp;<i class="iconfont icon-shijian1 "></i>&nbsp;<fmt:formatDate
                pattern="yyyy-MM-dd" value="${art.artCreatetiem }" />
        </span>

       </li>

      </c:forEach>

     </ul>
       <ul class="pagination page-c">
        <c:forEach end="${recodeCount }" begin="1" var="index"
                   varStatus="count">
         <li><a
                 href="${path }/do/redirect/pc/xzzx?type=xxzx&code=${param.code }&pageNow=${index-1}">${index}</a></li>
        </c:forEach>
       </ul>

     </div>
  </div>
   </div>

  </div>

  <jsp:include page="_footer.jsp"></jsp:include> 
  <script src="http://hwfile.jyymatrix.cc/xrfrz/pc/js/jquery.min.js"></script> 
  <script src="http://hwfile.jyymatrix.cc/xrfrz/pc/js/bootstrap.min.js"></script> 
  <script src="http://hwfile.jyymatrix.cc/xrfrz/pc/js/swiper.min.js"></script> 
  <script>
    $('.list-inner').mouseenter(function() {

      var item = $('.list-inner');
      var $this = $(this);
      var id = $this.data("id");

      item.removeClass("active");
      item.find("i").css('visibility', 'hidden');
      $(".div_title_list").hide();

      $this.addClass("active");
      $this.find("i").css('visibility', 'visible');
      $("#row" + id).show();
    });


    var swiper = new Swiper('.swiper-container', {
      pagination: {
        el: '.swiper-pagination',
      },
    });

    function submitPwd(dom) {

    var pwd = $(dom).siblings(".hid").val();
    var inp = $(dom).siblings(".input-class").val();
     var atrid = $(dom).siblings(".atrid").val();
    if(pwd==inp){
     localStorage.setItem(atrid,pwd);
     $(dom).siblings(".new_item_title1").click();
    }else{
     alert("密码不正确");
    }
    }

    function openart(url,dom) {

     var pwd = $(dom).siblings(".hid").val();
     if(!pwd){
      window.location.href=url;
     }else{
      var inp = $(dom).siblings(".input-class").val();
      var atrid = $(dom).siblings(".atrid").val();
      var item = localStorage.getItem(atrid);
      if(item && item==pwd){
       window.location.href=url;
      }else{
       alert("请输入文章密码");
      }
     }


    }
  </script>

 <script>


 </script>
 </body>
</html>